package com.oriole.admin.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by IntelliJ IDEA.
 *
 * @author doublelife
 * Date: 2020/8/17 23:29
 * description:
 */
@Api(tags = {"系统公用接口"})
@Controller
public class CommonController {

    @ApiOperation(value = "401页面")
    @GetMapping("401")
    public String error401() {
        return "/common/401";
    }

    @ApiOperation(value = "oriole介绍")
    @GetMapping("oriole")
    public String oriole() {
        return "/common/oriole";
    }

    @ApiOperation(value = "系统环境页面")
    @GetMapping("monitor")
    public String monitor() {
        return "/common/monitor";
    }
}
